package com.lrs.java.j2se_base.oo_thinking;

public class TestToStringMethod {
	public static void main(String[] args) {
		Monkey monkey = new Monkey();
		System.out.println("monkey:=" + monkey);
	}
}

class Monkey {
	public String toString() {
		return "I'm a cool monkey!";
	}
}